<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link href="/static/css/engine.css" rel="stylesheet">
    <link href="/static/css/controls.css" rel="stylesheet"/>
    <script src="/bower_components/requirejs/require.js" data-main="/static/app.js"
            data-bootstrap-modules="'system2/rule/variable/UpdateVariableModule'"></script>
</head>
<body ng-controller="updateVariable" style="height: auto" ng-cloak>
<div class="engine-popup">
    <form name="RuleVariableForm"g-validator="RuleVariable_Update"   data-invalid-msg="tooltipMessenger">
        <input type="hidden" name="id"  ng-model="variable.id"/>
        <input type="hidden" name="scopeId"  ng-model="variable.scopeId"/>
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">变量名：</div>
        <div class="attribute-form-group-r">
            <input type="text" name="varName" ng-model="variable.varName">
        </div>
        <div class="clear"></div>
    </div>
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型：</div>
        <div class="attribute-form-group-r">
            <select  name="valueType"  ng-model="variable.valueType">
                <option value="0">数字</option>
                <option value="1">字符串</option>
                <option value="2">布尔型</option>
                <option value="3">对象</option>
            </select>
        </div>
        <div class="clear"></div>
    </div>
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">表达式：</div>
        <div class="attribute-form-group-r">
            <input type="text" name="varValueExpr" ng-model="variable.varValueExpr">
        </div>
        <div class="clear"></div>
    </div>
    <div class="tck-line"></div>
    <div class="tck-b">
        <button type="button" class="engine-btn-default" ng-click="confirm()">确认</button>
        <button type="button" class="engine-btn-default" ng-click="cancel()">取消</button>
    </div>
    </form>
</div>
</body>
</html>